package user.Model.entity;

public class record {
    private String username;
    private String bookName;
    private String number;
    private String borrowTime;
    private String returnTime;
    private String bookId;

    public record(String username, String bookName, String number, String borrowTime, String returnTime,String bookId) {
        this.username = username;
        this.bookName = bookName;
        this.number = number;
        this.borrowTime = borrowTime;
        this.returnTime = returnTime;
        this.bookId = bookId;
    }

    public record() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(String borrowTime) {
        this.borrowTime = borrowTime;
    }

    public String getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(String returnTime) {
        this.returnTime = returnTime;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }
}
